package edu.dayu.service.impl;

import edu.dayu.mapper.ClubTypeMapper;
import edu.dayu.pojo.ClubType;
import edu.dayu.service.ClubTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClubTypeServiceImpl implements ClubTypeService {
    @Autowired
    private ClubTypeMapper clubTypeMapper;
    @Override
    public List<ClubType> clubTypeList(ClubType clubType) {
        return clubTypeMapper.clubTypeList(clubType);
    }

    @Override
    public void clubTypeInsert(ClubType clubType) {
        clubTypeMapper.clubTypeInsert(clubType);
    }

    @Override
    public void clubTypeUpdate(ClubType clubType) {
        clubTypeMapper.clubTypeUpdate(clubType);
    }

    @Override
    public void clubTypeDelete(ClubType clubType) {
        clubTypeMapper.clubTypeDelete(clubType);
    }
}
